/*
Author: Surpass-HC
Source: https://gitee.com/hxchuan000/clpc-1
Mail: surpass-hc@qq.com
*/
#ifndef __BASE_PARAM_AND_CONFIG_H__
#define __BASE_PARAM_AND_CONFIG_H__
#include <typecomm.h>
#include <logbase.h>
#include <memopt.h>
#include <typecvrt.h>

#define CLPTC_CPL_HOST_ENABLE 1 // c cod light protocol compile enable flag
#define CLPTC_CPL_SUB_ENABLE 1  // c cod light protocol compile enable flag
#define CLPTC_CPL_USE_CRYPTE 1  // c cod light protocol compile enable flag

#define CLPTC_SLAVE_BOARDCAST_ADDR 0XFF
#define CLPTC_SLAVE_SN_DEFAULT "1234567890ABCDEF"

#define CLPTC_DEVICE_VERSION_HEAD "CLP-STD-A-"
#define CLPTC_DEVICE_VERSION_NUMBER "V1.1."

// param
#define CLPTC_SLAVE_SN_SIZE 16

//
#define DEV_PARAM_FLASH_ADDR 0X00

// light protocol connect sm4 pre key. c light protocol key sample!
#define CLPTC_CNT_SM4_PRE_KEY (const uint8_t *)"cLightProtocKeyS"

#define CLPTC_TSFR_FILE_LEN_MAX (1024)

#define CLPTC_CHK_FILE_SAVE_DIR "/tmp/clpCheck/"

#endif
